
let logMenu = [
  {
    path: '/home',
    name: 'HomeContainer',
    component: () => import('@/views/home/index'),
    meta: {icon: 'el-icon-setting', title: '系统配置', menuType: 1},
    redirect: '/home/userManage',
    children: [
      {name: 'userManage', path: '/home/userManage', component: () => import('@/views/home/System/UserManage'), meta: {icon: 'el-icon-user-solid', title: '用户管理'}}
    ]
  }
]
export function getMenu (menuType) {
  console.log(menuType)
  let list = logMenu.filter(item => item.meta.menuType === menuType)
  return list
}
